/**
 * 
 */
package br.srv.full.virtual.faces.beanutils.validator;

import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.Validator;
import javax.faces.validator.ValidatorException;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * @author Delfino
 * 
 */
public class EmailValidator implements Validator {

	private final Log log = LogFactory.getLog(getClass());

	/*
	 * (non-Javadoc)
	 * 
	 * @see javax.faces.validator.Validator#validate(javax.faces.context.FacesContext,
	 *      javax.faces.component.UIComponent, java.lang.Object)
	 */
	@Override
	public void validate(FacesContext p_arg0, UIComponent p_arg1, Object p_arg2) throws ValidatorException {
		log.info(p_arg0);
		log.info(p_arg1);
		log.info(p_arg2);
	}

}
